package com.neuedu.hcp.entity;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author 第八组
 * @since 2021-04-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName( "exit_registrate")
public class ExitRegistrate implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("patient_id")
    private Integer patientId;

    private String exitType;

    private String exitReason;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate exitTime;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate applyTime;

    private String remarks;

    @TableField(exist = false)
    private  Patient patient;



//    @TableField(exist = false)
//    private String assss;


}
